/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

import java.util.Date;

/**
 *
 * @author Master
 */
public class model_ChuyenTau {
    private String MACHUYEN;
    private String MATUYEN;
    private String MADT;
    private Date THOIGIANXP;
    
    public void setMACHUYEN(String _maChuyen)
    {
        this.MACHUYEN = _maChuyen;
    }
    public String getMACHUYEN()
    {
        return MACHUYEN;
    }
    
    public void setTHOIGIANXP(Date _thoiGianXP)
    {
        this.THOIGIANXP = _thoiGianXP;
    }
    public Date getTHOIGIANXP()
    {
        return THOIGIANXP;
    }  

    public void setMADT(String MADT) {
        this.MADT = MADT;
    }

    public void setMATUYEN(String MATUYEN) {
        this.MATUYEN = MATUYEN;
    }

    public String getMADT() {
        return MADT;
    }

    public String getMATUYEN() {
        return MATUYEN;
    }
    
    
    public model_ChuyenTau() {
        this.MACHUYEN = "";
        this.THOIGIANXP = new Date();
        this.MADT = "";
        this.MATUYEN = "";
    }

    public model_ChuyenTau(String MACHUYEN, String MATUYEN, String MADT, Date THOIGIANXP) {
        this.MACHUYEN = MACHUYEN;
        this.MATUYEN = MATUYEN;
        this.MADT = MADT;
        this.THOIGIANXP = THOIGIANXP;
    }

    @Override
    public String toString() {
        return this.MACHUYEN;
    }
    
    
}
